package com.kma.ncpractice2013.model;

import java.sql.*;
import java.util.*;
import java.util.Date;

public class Order
{
    private int id;
    private int userId;
    private int locationId;
    private double price;
    private int rooms;
    private int adults;
    private int children;
    private int nights;
    private double hotelStars;
    private Date orderDate;
    private Date checkInDate;
    private Date checkOutDate;
	private String confirmationToken;
	private int confirmed;
	private double bonusGained;
	private int amenityMask;

    public static final int Cancelled = 1;
    public static final int NonConfirmed = 2;
    public static final int Confirmed = 3;

    public Order ()
    {
        
    }

//    public Order(int id, int userId, int locationId, double price,
//                 short rooms, short adults, short children, short nights, short hotelStars,
//                 Date orderDate, java.sql.Date checkInDate, Date checkOutDate)
//    {
//        this.id = id;
//        this.userId = userId;
//        this.locationId = locationId;
//        this.price = price;
//        this.rooms = rooms;
//        this.adults = adults;
//        this.children = children;
//        this.nights = nights;
//        this.hotelStars = hotelStars;
//        this.orderDate = orderDate;
//        this.checkInDate = checkInDate;
//        this.checkOutDate = checkOutDate;
//    }

    public void setHotelStars(double hotelStars) {
        this.hotelStars = hotelStars;
    }

    public double getHotelStars() {
        return hotelStars;
    }

    public int getId() {
        return id;
    }

    public void setId(int id) {
        this.id = id;
    }

    public int getUserId() {
        return userId;
    }

    public void setUserId(int userId) {
        this.userId = userId;
    }

    public int getLocationId() {
        return locationId;
    }

    public void setLocationId(int locationId) {
        this.locationId = locationId;
    }

    public double getPrice() {
        return price;
    }

    public void setPrice(double price) {
        this.price = price;
    }

    public int getRooms() {
        return rooms;
    }

    public void setRooms(int rooms) {
        this.rooms = rooms;
    }

    public int getAdults() {
        return adults;
    }

    public void setAdults(int adults) {
        this.adults = adults;
    }

    public int getChildren() {
        return children;
    }

    public void setChildren(int children) {
        this.children = children;
    }

    public int getNights() {
        return nights;
    }

    public void setNights(int nights) {
        this.nights = nights;
    }

    public Date getOrderDate() {
        return orderDate;
    }

    public void setOrderDate(Date orderDate) {
        this.orderDate = orderDate;
    }

    public Date getCheckInDate() {
        return checkInDate;
    }

    public void setCheckInDate(Date checkInDate) {
        this.checkInDate = checkInDate;
    }

    public Date getCheckOutDate() {
        return checkOutDate;
    }

    public void setCheckOutDate(Date checkOutDate) {
        this.checkOutDate = checkOutDate;
    }

	public String getConfirmationToken()
	{
		return confirmationToken;
	}

	public void setConfirmationToken(String confirmationToken)
	{
		this.confirmationToken = confirmationToken;
	}

	public int getConfirmed()
	{
		return confirmed;
	}

	public void setConfirmed(int confirmed)
	{
		this.confirmed = confirmed;
	}


	public double getBonusGained()
	{
		return bonusGained;
	}

	public void setBonusGained(double bonusGained)
	{
		this.bonusGained = bonusGained;
	}

	public int getAmenityMask()
	{
		return amenityMask;
	}

	public void setAmenityMask(int amenityMask)
	{
		this.amenityMask = amenityMask;
	}
}
